module.exports = {
  // presets: ["@vue/cli-plugin-babel/preset"],
  presets: [
    [
      "@vue/app",
      {
        polyfills: ["es.promise", "es.symbol"],
        useBuiltIns: "entry",
      },
    ],
  ],
  plugins: [
    [
      "import",
      {
        libraryName: "vxe-table",
        style: true, // 样式是否也按需加载
      },
    ],
    [
      "import",
      {
        libraryName: "@icon-park/vue",
        libraryDirectory: "es/icons",
        camel2DashComponentName: false,
      },
      "icon-park",
    ],
  ],
};
